home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / msdos / s3tool10.zip / S3TOOLS.DOC < prev    next >
Text File  |  1993-09-25  |  17KB  |  395 lines

  1. Program Package:        S3 Tools
  2. Package Version:        1.0
  3. Date:                   09/25/93
  4. Author:                 George Spafford
  5.                         Copyright 1993 All Rights Reserved
  6.  
  7. Purpose:        To enhance the usefulness of batch files and the command
  8.                 command line.
  9.  
  10. Install:        Create a directory and then copy these files to it.  I
  11.                 recommed that the directory be included in your PATH statement
  12.                 in your AUTOEXEC.BAT.
  13.  
  14. Programs:
  15.  
  16.         --------
  17.         BEEP.EXE
  18.         --------
  19.  
  20.         BEEP is a program to allow you to generate a userr defined tone in
  21.         DOS or from a batch file.  The TSTBEEP.BAT file demonstrates a very
  22.         loud tone that easily gets users immediate attention.  This utility
  23.         is geared towards getting users, sysops, or administrators to a PC
  24.         that is having problems.
  25.         USAGE:  BEEP Hertz Duration
  26.  
  27.                         Hertz defines the tone in terms of cycles per second.
  28.                         Duration defines the length of the sound in 1/18ths
  29.                                  of seconds.
  30.  
  31.         BEEP /? Displays the help screen.
  32.  
  33.         --------
  34.         CA10.DOC
  35.         --------
  36.  
  37.         This is the documentation file for the COMAID.EXE utility.
  38.         You can read this file by using the included SDV viewer utility:
  39.         SDV CA10.DOC
  40.  
  41.         ---------
  42.         CLSCR.EXE
  43.         ---------
  44.  
  45.         This program clears the screen and can optionally beep a certain
  46.         number of times.  The TSTCLSCR.BAT batch file demonstrates this
  47.         utility.  Essecntially, the screen is cleared to either blue, green,
  48.         red, yellow or white and a beep can sound.
  49.         USAGE:  CLSCR [blue][green][red][yellow][white] {Beep Count}
  50.  
  51.         You must select one color.  Examples:
  52.                 CLSCR Blue      Displays a blue screen.
  53.                 CLSCR Green     Displays a green screen.
  54.                 CLSCR G         Displays a green screen.
  55.         As you can see, you can either spell out the color or just use the
  56.         first letter of the color:  G=Green, B=Blue, R=Red, etc.
  57.         To have the program beep, specify the color, add a space and then the
  58.         number of times you want the program to beep.  Examples:
  59.                 CLSCR R 5       Red screen and 5 beeps
  60.                 CLSCR G 1       Green screen and 1 beep
  61.                 CLSCR B 3       Blue screen and 3 beeps
  62.  
  63.         CLSCR /?  Displays the help screen.
  64.  
  65.         ----------
  66.         COMAID.EXE
  67.         ----------
  68.  
  69.         COMAID is a utility that you can use to update your BIOS equipment
  70.         table located at 0000H:0400H.  The first 8 bytes of this table is
  71.         used to declare the I/O addresses of COM ports one through four.
  72.         Not all systems automatically map in the addresses of COM3 and COM4.
  73.         COMAID can do this.  COMAID will NOT modify the interrupt table.
  74.         CHANGES WILL ONLY LAST UNTIL THE PC IS REBOOTED!
  75.         Addresses used:
  76.                 COM1:   03F8 Hex
  77.                 COM2:   02F8
  78.                 COM3:   03E8
  79.                 COM4:   02E8
  80.         USAGE:  COMAID [/1][/2][/3][/4][/R1][/R2][/R3][/R4]
  81.                 Switches /1 /2 /3 /4 add the I/O addresses for COM ports
  82.                 switches /R1 through /R4 remove the addresses
  83.         Example:  COMAID /1     Adds COM1
  84.                   COMAID /3 /4  Adds COM3 and COM4
  85.                   COMAID /3 /R2 Adds COM3 and removes COM2
  86.  
  87.         COMAID /? Displays the help screen
  88.  
  89.         -----------
  90.         DUMPMEM.EXE
  91.         -----------
  92.  
  93.         DUMPMEM displays 64 bytes of memory starting at a user defined
  94.         segment and offset.  The segment and offset can be declared either
  95.         as integers or as hex values.  To enter hex values, prefix your
  96.         hex value with &H.  For example, 400 hex is entered as &H400.
  97.         USAGE:  DUMPMEM  segment:offset
  98.         To display the 0000:0400H equipment table, we enter:
  99.                 DUMPMEM &H0:&H400
  100.         Of course Hex 0 and Dec 0 are the same thing, but I used the &H
  101.         to demonstrate how it is used.  The 400 Hex MUST be entered as &H400.
  102.         DUMPMEM /?  Displays the help screen.
  103.  
  104.         -------
  105.         KEY.EXE
  106.         -------
  107.         S3 KEY is used to manipulate the capital letter lock (Caps Lock), the
  108.         number lock (Num Lock) and the keyboard buffer.  KEY can be used
  109.         to turn either lock on or off and to clear the keyboard buffer.
  110.         USAGE:  KEY [/C+][/C-][/N+][/N-][/B-]
  111.                 /C+     Turns cap lock on
  112.                 /C-     Turns cap lock off
  113.                 /N+     Turns num lock on
  114.                 /N-     Turns num lock off
  115.                 /B-     Clears the keyboard buffer
  116.         KEY /? Displays the help screen.
  117.  
  118.         ------
  119.         LC.EXE
  120.         ------
  121.  
  122.         The S3 Line Calculator provides a way to do math equations on the
  123.         command line.  The usage of the calculator can be as simple as:
  124.         LC 2+2 to get an answer of 4 or as complex as you want.  The
  125.         LC10.DOC file gives full information on using this utility.
  126.         LC /? Displays the help screen.
  127.  
  128.         --------
  129.         LC10.DOC
  130.         --------
  131.  
  132.         This is the document file for the S3 Line Calculator program.  You
  133.         can use the included SDV file viewer to read it by typing:
  134.         SDV LC10.DOC
  135.  
  136.         ---------
  137.         LOG30.DOC
  138.         ---------
  139.  
  140.         This is the document file for the S3 LOGIT program.  You can use
  141.         the included SDV file viewer to read it by typing SDV LOG30.DOC
  142.  
  143.         ---------
  144.         LOGIT.EXE
  145.         ---------
  146.  
  147.         S3 LOGIT is a program designed to write date, time and notes to
  148.         a specified log file in order to track use of a system, program,
  149.         etc.
  150.         USAGE:  LOGIT /C:comments_are_here /L:LOGFILE.LOG
  151.                 /C:     This specifies the comment that you want stored.
  152.                 /L:     This defines the name of the log file.
  153.         Logit will automatically add the current system date and time to
  154.         the entry when it appends it to the log file.
  155.  
  156.         LOGIT /?  Displays the help screen.
  157.  
  158.         --------
  159.         PORT.EXE
  160.         --------
  161.  
  162.         PORT is an interactive utility that allows a user to modify the
  163.         BIOS equipment table COM and LPT ports.  Ports can be added, swapped,
  164.         deleted or edited.  The changes will only last until the PC is rebooted.
  165.         BE CAREFUL IF YOU EDIT!!!  If nothing else, the program can be used
  166.         to simply display the current table.  PORT can not be run from the
  167.         command line alone.  Thus, there are no command line parameters.
  168.  
  169.         ---------
  170.         QUERY.EXE
  171.         ---------
  172.  
  173.         S3 QUERY is a utility geared for making batch (.BAT) files interactive.
  174.         QUERY waits for a single key to be pressed and then it returns the
  175.         ASCII value of that key to DOS as the ERRORLEVEL where the DOS IF
  176.         statement can be used.  (I apologize to purists who argue that the
  177.         COMMAND.COM commands are shell commands rather than DOS operating
  178.         commands.  I agree that they are not DOS commands but I use the
  179.         term here for others.  If you are reading this saying, "Whaaaat?"
  180.         Let me digress for a moment.  You see, DOS is really comprised of
  181.         the boot record that the loads the IO.SYS and MSDOS.SYS system
  182.         files.  These are all hidden from the user but they define the
  183.         machine interface.  COMMAND.COM is a shell, just like the shells
  184.         in UNIX.  COMMAND.COM provides the internal commands for users like
  185.         COPY, DIR, DEL, IF and so forth.  Thus, this is why a user can swap
  186.         shells for added commands.  Alternative shells are 4DOS and Norton's
  187.         NDOS.  They sit on top of the machine layer and provide enhanced user
  188.         interfaces.   Here endeth the lesson.
  189.         Anyways, look at TSTQUERY.BAT for a demonstration of QUERY and an
  190.         example of batch file programming.
  191.         Remember one important point:  QUERY IS CASE SENSITIVE!!!!!
  192.         USAGE:  QUERY [LB-UB] [VALUE] [S]
  193.                 QUERY UB-LB     Used to define lower and upper bounds of
  194.                                 acceptable answers.  For example:  QUERY 97-100
  195.                                 This will only continue the batch file if a key
  196.                                 with an ASCII code greater than or equal to 97
  197.                                 and less than or equal to 100 is pressed.
  198.                 QUERY VALUE     VALUE can be used if there is only one legal
  199.                                 value.  Example:  QUERY 97    Only a lower
  200.                                 case "a" is valid.
  201.                 QUERY           Alone will return an ASCII code for any key
  202.                                 pressed.
  203.                 QUERY S         This will display ASCII codes for you while
  204.                                 you press keys in order to save you from
  205.                                 looking them up.
  206.         QUERY /? Displays the help screen
  207.  
  208.         -----------
  209.         READMEM.EXE
  210.         -----------
  211.  
  212.         READMEM is an interactive memory browse utility.  When you run the
  213.         program, it will ask you for the segment, offset and number of bytes
  214.         that you want to see.  If you want to enter hex values, remember to
  215.         prefix the value with &H.  Thus, 400H is entered as &H400.
  216.         There are no command line parameters.
  217.  
  218.         -----
  219.         S.EXE
  220.         -----
  221.  
  222.         S3 Software's Sloppy DIR Replacement.  S is a simple directory
  223.         list utility that sorts the files by file name in ascending order,
  224.         shows directories first, then file names with their associated file
  225.         sizes and attribiutes.
  226.         USAGE:  S [filespec]
  227.                 S       Alone displays the current directory
  228.                 S Spec  Spec defines a file specification to look for.
  229.                         Example:  S C:\DOS\ will show the files in the DOS
  230.                                   directory.
  231.                         To look at a directory, you must put either a "\"
  232.                         after a dir name or the full \*.*.  To view C:\DOS
  233.                         you need to do one of the following:
  234.                                   S C:\DOS\
  235.                                   S C:\DOS\*.*
  236.                         Play around with it.  The program will accept partial
  237.                         names and will tell you if it doesn't find a match.
  238.  
  239.         -------
  240.         S11.DOC
  241.         -------
  242.  
  243.         This is the document file for the S3 Sloppy DIR program.  You can
  244.         use the included SDV file viewer to read the file by typing:
  245.         SDV S11.DOC
  246.  
  247.         --------
  248.         SASK.EXE
  249.         --------
  250.  
  251.         S3 ASK is a unique utility in that it asks a user a question and then
  252.         places the answer in an environment variable.  SASK probably has no
  253.         use outside of a batch file.  The TSTSASK.BAT file is a good example
  254.         of how SASK works. SASK asks a question and then writes a batch file
  255.         called SETSASK.BAT.  The environment variable is NOT set until you
  256.         either run or CALL the SETSASK.BAT file.  I recommend that you look
  257.         at TSTSASK.BAT.  If you get an out of environment space error message,
  258.         then you will need to increase the size of your environment table.
  259.         This is done by using the SHELL command in the CONFIG.SYS file.
  260.         SHELL=C:\DOS\COMMAND.COM C:\DOS /E:512 /P
  261.               ^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^
  262.               Shell Name to run    |      |    |- Make Change permanent
  263.                                    |      |------ Environment size = 512 bytes
  264.                                    |------------- COMSPEC setting [optional]
  265.         If you still have questions, hopefully you have a good DOS manual that
  266.         can describe the reason the SHELL command exists (a partial answer
  267.         exists in the explanation of the QUERY program above).
  268.         USAGE:  SASK VaribleName Question_to_Ask?
  269.                 VariableName    The name of the environment variable that
  270.                                 you want to write.
  271.                 Question        This is the question that you want to ask.
  272.                                 It must have underscores "_" in place of
  273.                                 spaces.  SASK will replace the underscores
  274.                                 with spaces when it runs.
  275.         SPECIAL:  Help is displayed by typing SASK alone.  /? does not work.
  276.  
  277.         -------
  278.         SDV.EXE
  279.         -------
  280.  
  281.         S3 DOC View is a file browse utility. SDV by itself lists file names
  282.         in the current directory.  Use the arrows to highlight the file that
  283.         you want to read and press enter to view the file.  If you know the
  284.         file that you want to read, type SDV followed by the file name.  For
  285.         example, SDV S3TOOLS.DOC will display this file.  This is how the
  286.         README.BAT file allows you to view this file.
  287.  
  288.         ---------
  289.         SDV21.DOC
  290.         ---------
  291.  
  292.         This is the document file for SDV.  SDV SDV21.DOC will let you read
  293.         the .DOC file.
  294.  
  295.         -------
  296.         SSV.CFG
  297.         -------
  298.  
  299.         This is the sample configuration file for SSV.
  300.  
  301.         -------
  302.         SSV.EXE
  303.         -------
  304.  
  305.         S3 SmartViewer looks at a selected file name's extension and
  306.         runs a viewer or another utility based on the extension.
  307.         Read the SSV10.DOC file to learn more about the program.
  308.         SSVCFG.EXE creates the SSV.CFG file that SSV uses as a configuration
  309.         file.
  310.         USAGE:  SSV [FileSpec]
  311.                 [FileSpec] is the file name that you want to look at.
  312.  
  313.         ---------
  314.         SSV10.DOC
  315.         ---------
  316.  
  317.         This is the documentation for the S3 Smart View utility (SSV).  Use
  318.         SDV SSV10.DOC to read the file.
  319.  
  320.         ----------
  321.         SSVCFG.EXE
  322.         ----------
  323.  
  324.         This is the program that creates the SSV.CFG file for the Smart View
  325.         (SSV) program.  SSV10.DOC explains it use.
  326.  
  327.         ------------
  328.         TESTSASK.BAT
  329.         ------------
  330.  
  331.         This is the test/demonstration batch file for SASK.
  332.  
  333.         -----------
  334.         TSTBEEP.BAT
  335.         -----------
  336.  
  337.         This is the test/demonstration batch file for BEEP.
  338.  
  339.         ------------
  340.         TSTCLSCR.BAT
  341.         ------------
  342.  
  343.         This is the test/demonstration batch file for CLSCR.
  344.  
  345.         ------------
  346.         TSTQUERY.BAT
  347.         ------------
  348.  
  349.         This is the test/demonstration batch file for QUERY.
  350.  
  351.  
  352. *******************************************************************************
  353. HISTORY:
  354.  
  355.         v1.0    09/25/93
  356.  
  357.                 Initial Release
  358.  
  359. DISTRIBUTORS:
  360.  
  361. This package may be distributed via catalogs, CD ROMs, shows, BBSes, swap meets,
  362. etc., as long as it is clearly identified as shareware.  The package may NOT
  363. be identified as freeware, cheap ware, etc.  The distributor can NOT claim
  364. to be a representative of S3 Software.  A distributor can NOT break apart this
  365. package but a custom install program may be added as long as the install is
  366. clearly identified as the property of the distributor.
  367.  
  368. REGISTER:
  369.  
  370. The S3 Tools package represents a lot of time and effort.  The S3 Tools package
  371. refers to all files contained in an archive file or placed on a disk by S3
  372. Software.  It does NOT pertain to any files added to an archive or disk by
  373. other parties.  The package may not be parsed apart.  If you elect to use
  374. any of the programs in the package, you must register the package.  This
  375. package's registration fee is $20.  If you want a disk mailed to you with
  376. the program package on it, and additional $5 is required to cover postage
  377. and handling.  European and Asian customers need to add $10 to cover transaction
  378. processing fees.  All amounts stated are in U.S. dollars.  Please only make
  379. payment in the form of checks, money orders or postal orders to:
  380.  
  381.           George Spafford
  382.           3003 Lakeshore Drive, #216
  383.           St. Joseph, MI 49085
  384.  
  385. I can be contacted on the EXEC-PC and CHANNEL-ONE BBS systems.
  386.  
  387. THE S3 TOOLS PACKAGE AND ALL OF ITS ASSOCIATED FILES ARE DISTRIBUTED AS IS.
  388. THE AUTHOR (GEORGE SPAFFORD) MAKES NO WARRANTIES OF APPROPRIATENESS,
  389. MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  THE AUTHOR ASSUMES NO
  390. LIABILITY FOR ANY DAMAGES (INCLUDING LOST PROFITS, WAGES OR ANY OTHER
  391. CONSEQUENTIAL OR INCIDENTAL DAMAGES) ARISING OUT OF THE MISUSE OR INABILITY TO
  392. USE THIS PRODUCT.
  393.  
  394.  
  395.